<?php

namespace app\user\validate;
use think\Validate;

class CustomerOrder extends Validate
{
    protected $rule = [
        'customer_id'   => 'require',
        'price'   => 'require',
        'classify'   => 'require',
        'remark' => 'require',
    ];

    protected $message = [
        'customer_id.require'   => '客户不能为空',
        'price.require'   => '销售金额不能为空',
        'classify.require'   => '分类不能为空',
        'remark.require'     => '销售信息内容不能为空',
    ];
}
